package com.payment.system.domain;

import com.payment.common.annotation.Excel;
import com.payment.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * app版本表 hatchet_app_version
 * 
 * @author payment
 * @date 2019-01-14
 */
public class AppVersion extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private String id;
	/** 产品名称 */
	@Excel(name = "产品名称", readConverterExp = "1=5G智能时代,2=未知")
	private String productName;
	/** 系统【IOS/Android】 */
	@Excel(name = "系统", readConverterExp = "0=IOS,1=Android,2=未知")
	private String systemType;
	/** 版本号 */
	@Excel(name = "版本号")
	private String versionNo;
	/** 创建时间 */
	@Excel(name = "创建时间",width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/** 创建人 */
	@Excel(name = "创建人")
	private String updateUser;
	/** 状态 */
	@Excel(name = "状态", readConverterExp = "10A=启用,10B=禁用,2=未知")
	private String status;
	/** 程序描述 */
	@Excel(name = "程序描述")
	private String programDescription;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setProductName(String productName) 
	{
		this.productName = productName;
	}

	public String getProductName() 
	{
		return productName;
	}
	public void setSystemType(String systemType) 
	{
		this.systemType = systemType;
	}

	public String getSystemType() 
	{
		return systemType;
	}
	public void setVersionNo(String versionNo) 
	{
		this.versionNo = versionNo;
	}

	public String getVersionNo() 
	{
		return versionNo;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setUpdateUser(String updateUser) 
	{
		this.updateUser = updateUser;
	}

	public String getUpdateUser() 
	{
		return updateUser;
	}
	public void setStatus(String status) 
	{
		this.status = status;
	}

	public String getStatus() 
	{
		return status;
	}
	public void setProgramDescription(String programDescription) 
	{
		this.programDescription = programDescription;
	}

	public String getProgramDescription() 
	{
		return programDescription;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productName", getProductName())
            .append("systemType", getSystemType())
            .append("versionNo", getVersionNo())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("status", getStatus())
            .append("programDescription", getProgramDescription())
            .toString();
    }
}
